﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace rbac.Contracts.DTO.Output
{
    public class PermissionDto
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        public int PermissionId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; }
        /// <summary>
        /// 权限地址
        /// </summary>
        public string? PermissionUrl { get; set; }
        /// <summary>
        /// 权限子菜单
        /// </summary>
        public List<PermissionDto>? Child { get; set; }
    }
}
